<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>


<isperp:grid url="db/entity/list" gridId="entityGrid"
	cusFormatterActions="true" cusDialogSize="big"
	cusEditUrl="db/entity/edit" cusDeleteUrl="db/entity/delete"
	excelExportUrl="db/entity/excelExport"
	ondbClickRowEvent="entityGrid.edit(rowid);">
	<jsp:attribute name="toolbar">
					<isperp:toolbar id="entityToolbar">
						<isperp:button id="entityCreate" text="新增" icon="icon-plus"
				onclick="entityGrid.create();"></isperp:button>
					</isperp:toolbar>
					</jsp:attribute>

	<jsp:attribute name="searchbar">
	<table class="search-table">
		<tbody>
			<tr>
				<td align="right">名称：</td>
				<td><input type="text" field="name" op="cn">
					</td>
				<td align="right">数据库表名：</td>
				<td><input type="text" field="tableName" op="cn">
					</td>
			</tr>
		</tbody>
	</table>
	</jsp:attribute>
	<jsp:body>
	<isperp:column name="id" title="id" hidden="true"></isperp:column>
	<isperp:column name="entityCategory" title="分类" width="120">
	</isperp:column>
	<isperp:column name="name" title="名称" width="200">
	</isperp:column>
	<isperp:column name="entityType" title="实体类型" width="100">
	</isperp:column>
	<isperp:column name="tableName" title="数据表名称" width="120">
	</isperp:column>
	<isperp:column name="useForImport" title="用于导入" width="70"
			formatter="checkbox">
	</isperp:column>
	<isperp:column name="useForSlm" title="slm计算" width="75"
			formatter="checkbox">
	</isperp:column>

</jsp:body>

</isperp:grid>

